package com.flyway.execise.flyway_db;


import java.util.Locale;

/**
 * @date 19-7-23
 * @auther jackliang
 * @description TODO
 */
public class ClasssLoaderContainer {


    public static void main(String[] args) {
        Locale locale = Locale.getDefault();
        System.out.println(locale.getDisplayLanguage());
        System.out.println(locale.getDisplayCountry());
        System.out.println(locale.getDisplayName());

        //System.out.println(locale.getDisplayScript());

//        ServiceLoader<IcastService> serviceLoader = ServiceLoader.load(IcastService.class);
//        for (IcastService service : serviceLoader) {
//            service.consumes();
//            System.out.println();
//        }
        //PrivilegedAction<String> action = () -> return "helloworlds";
       // System.out.println(AccessController.doPrivileged(action));

        //cessController.doPrivileged((PrivilegedAction<String>) () -> "jack link");

    }
}
